package controllers.pc.users;

import controllers.pc.pc_index;
import play.Logger;
import play.mvc.Before;
import play.mvc.Controller;
import play.mvc.Http;

/**
 * Created by Administrator on 2018-07-29.
 */
public class Recharge extends Controller {
    @Before()
    public static void RechargeRun() {
        Logger.info("正在执行ation请求命令："+ Http.Request.current.get().action);
        String name = session.get("name");
        try{
            if (name.isEmpty()){
                pc_index.pc_index();
            }
        }catch (Exception ex){
            pc_index.pc_index();
        }
    }

}
